package com.autcar.training.service;

import com.autcar.training.entity.Insurance;

import java.util.List;

/**
 * Create by linjh on 9/2
 */

public interface InsuranceService {

    //添加保险信息
    Integer addInsurance(Insurance insurance);
    //删除保险信息
    Integer deleteInsurance(Integer id);
    //根据订单号查询
    List<Insurance> findById(Integer oid);
    //获取所有保险信息
    List<Insurance> findAll();
    //修改保险信息
    Integer EditOne(Insurance insurance);
}
